﻿
<UserControl x:Class="SharePointOptimizer.PL.WPF.IssuesReportControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:viewer="clr-namespace:Microsoft.Reporting.WinForms;assembly=Microsoft.ReportViewer.WinForms"
             mc:Ignorable="d"
			 xmlns:s="clr-namespace:System;assembly=mscorlib" 
             Height="395"
             Name="IssueControl"
             xmlns:sys="clr-namespace:System;assembly=mscorlib" 
             Loaded="UserControl_Loaded" Width="945.000328">
	 
    <Grid Margin="120.5,-53,-120.5,53">
        
        <Grid.RowDefinitions>
            <RowDefinition Height="0.015*" />
            <RowDefinition Height="0.119*"/>
            <RowDefinition Height="0.101*"/>
            <RowDefinition Height="0.106*"/>
            <RowDefinition Height="0.016*"/>
            <RowDefinition Height="0.147*"/>
            <RowDefinition Height="0*"/>
            <RowDefinition Height="0.137*"/>
            <RowDefinition Height="0.137*"/>
            <RowDefinition Height="0.151*" />
            <RowDefinition Height="0.071*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="164.268" />
            <ColumnDefinition Width="0*"/>
            <ColumnDefinition Width="0*"/>
            <ColumnDefinition Width="0*"/>
            <ColumnDefinition Width="0.034*"/>
            <ColumnDefinition Width="0.59*" />
            <ColumnDefinition Width="0.017*" />
            <ColumnDefinition Width="0.034*"/>
            <ColumnDefinition Width="0.324*"/>
        </Grid.ColumnDefinitions>
        <Border BorderBrush="Black" BorderThickness="1" Grid.ColumnSpan="5" Margin="18,-15,-115,-39.892" Grid.RowSpan="11" CornerRadius="5" Background="#FFF8F5F8" Grid.Column="4" />
        <Button 
    		HorizontalAlignment="Left" 
    		Margin="-70,7.397,0,5.708" 
    		x:Name="btnLoad" 
    		Width="37"
    		Background="#FF7CDDFD"  
    		ToolTip="Refresh Results"
           
    		Click="btnLoad_Click"
    		Style="{StaticResource GlassButton}" RenderTransformOrigin="1.457,0.529" Grid.Row="1" d:LayoutOverrides="HorizontalAlignment"
            >
    		<Image Width="37" Height="30" Source="Images\refresh.png"  />
            
    	</Button>

        <Label Content="Severity" FontSize="9.333" Foreground="#FFF0F0F0" Margin="-125.147,7.071,0,0" x:Name="label1" Grid.Row="5" HorizontalAlignment="Left" Height="20.065" VerticalAlignment="Top" />
        <Label Content="Expand" FontSize="9.333" Foreground="#FFF0F0F0" Margin="-125.147,-19.071,0,0" x:Name="lblExpand" Grid.Row="6" HorizontalAlignment="Left" Height="20.065" VerticalAlignment="Top" />


        <ComboBox
    		HorizontalAlignment="Left" 
    		x:Name="combobox_Severity" 
    		Width="214"
    		Height="21.865"
    		SelectedIndex="0"
    		SelectionChanged="combobox_Severity_SelectionChanged"  
            Background="White" Margin="-79,2.51,0,33.689" 
            Grid.Row="5" d:LayoutOverrides="HorizontalAlignment">
            <sys:String>All</sys:String>
            <sys:String>High</sys:String>
            <sys:String>Med</sys:String>
            <sys:String>Low</sys:String>


        </ComboBox>

        <ComboBox
    		HorizontalAlignment="Left" 
    		x:Name="combobox_Expand" 
    		Width="214"
    		Height="21.865"
    		SelectedIndex="0" Background="White" Margin="-79,39,0,51" Grid.Row="5" 
            d:LayoutOverrides="HorizontalAlignment" SelectionChanged="combobox_Expand_SelectionChanged" Grid.RowSpan="3">
            <sys:String>None</sys:String>
            <sys:String>Level2</sys:String>
            <sys:String>Issues</sys:String>
        </ComboBox>

        <WindowsFormsHost x:Name="wfh_rptIssues" Width="557"  Height="445" HorizontalAlignment="Left" VerticalAlignment="Top"  Margin="19,-12,0,0" Grid.ColumnSpan="5" Grid.RowSpan="11" Grid.Column="4">
            <viewer:ReportViewer ProcessingMode="Local" Name="rptIssues" Height="500" BorderStyle="None" ZoomMode="PageWidth" />
    	</WindowsFormsHost>

    </Grid>

</UserControl>
